<?php
class Socialprofiles_Data_Insertsocialprofiles implements Socialprofiles_Data_Mainable {
    
    private $core_controller_dataoperation;
    
    public function __construct() {
        $this->core_controller_dataoperation = new Core_Controller_Dataoperation;
    }


    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO social_data(username, skype_login, facebook_profile, google_plus_profile, twitter_profile) VALUES('".$variables['post']['username']."','".$variables['post']['skype_login']."','".$variables['post']['facebook_profile']."','".$variables['post']['google_plus_profile']."','".$variables['post']['twitter_profile']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_dataoperation->main($variables);
    }

}
